package com.czkt.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.czkt.mapper.OrderMapper;
import com.czkt.pojo.Order;
import com.czkt.service.OrderService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService{
    @Resource
    OrderMapper orderMapper;

    @Override
    public Boolean updateOrder(Integer orderId) {
        return orderMapper.updateOrder(orderId);
    }

    @Override
    public Integer selectOrder(Integer orderId) {
        return orderMapper.selectOrder(orderId);
    }
}
